(set #needInst43 "You must use Installer version 43 or greater. Use the Installer program from your AWeb-II disk.")
(set #needAWeb33 "You must have AWeb-II version 3.3 or greater.\nAnd the Assign AWeb3: made\n\nif you are a registered AWeb User then goto the AWeb homepage to download the AWeb3.3 upgrade patch.")
(welcome "Welcome to Bruces\nAWebLastPages "alpv"."alpr" Installation Utility")
;------------------install/update the AWNPipe-handler-----------------
(set lv (getversion "l:awnpipe-handler"))
(set nv (getversion "awnp/l/awnpipe-handler"))
(if (> nv lv)
(copylib
(source "awnp/l/awnpipe-handler")
(dest "l:")
(prompt "Installing AWNPipe-handler")
(help "This Will Install AWNPipe-handler to L:")
(confirm)
)
(copylib
(dest "Devs:dosdrivers")
(source "awnp/DosDrivers/awnpipe")
(prompt "Installing AWebNews Pipe:")
(help "This Will Install the AWNPipe Descriptor File to Devs:DosDrivers")
(infos)
)
(run "C:assign AWNPipe: dismount")
(run "C:mount AWNPipe:")
)
;--------------Check versions of env:AWeb3/LastPage.cfg----------------
(if (exists "env:AWeb3/LastPage.cfg")
(if (< pv av)
(if
(askbool
(default 1)
(prompt "\nThe Configuration file for ALP V"prfv"."prfr"\nwas found in ENV:\n\nthis will need to be deleted\nfor the newer Version "alpv"."alpr"\nIs This OK ?")
(help "The configuration file has changed and is not compatible with this version ,\nSO you must delete the old one.")
)
(run "delete force >nil: env:AWeb3/LastPage.cfg envarc:AWeb3/LastPage.cfg")